home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr11
/
ddj9304.zip
/
WAVELET.ZIP
/
WAVEDATA.L
< prev
next >
Wrap
Text File
|
1992-02-06
|
11KB
|
337 lines
Creation date: Tue Feb 04 16:30:01 1992 wavedata.s page 1
Address Instruction Line # Source line
1 /* WAVEDATA.S */
2 #include "dsp_type.h"
1 #define DSP32 1
3 #if DSP32
4 #include "dspregs.h"
1 /* dspregs.h */
2 /* register file redefinition */
3 #define r1e r1
4 #define r2e r2
5 #define r3e r3
6 #define r4e r4
7 #define r5e r5
8 #define r6e r6
9 #define r7e r7
10 #define r8e r8
11 #define r9e r9
12 #define r10e r10
13 #define r11e r11
14 #define r12e r12
15 #define r13e r13
16 #define r14e r14
17 #define r15e r15
18 #define r16e r16
19 #define r17e r17
20 #define r18e r18
21 #define r19e r19
22 #define r20e r20
23 #define r21e r21
24
25 /* integer and float redefinition */
26 #define int24 int
27 #define float24 float
5 #endif
6
7 .global WAVEADRS, WAVELVLS, IMAGSHOW, LVLADDRS
8 .global SIG_DRAW, DRAW_CNT, H_FILTER, L_FILTER
9 .global RST_DATA, IM0_PTRS, IM1_PTRS, IMAGE_0
10 .global STACKEND, SIGNALIN, DATA_OUT
11
12 .align 4
0000 0000 13 WAVEADRS: int24 0; /* jump address for wavelet filter length */
0002 0000 14 WAVEINDX: int24 0; /* wrap back index for wavelet filter length */
0004 0006 15 WAVELVLS: int 6, 1625; /* number of levels, clear loop counter */
0006 0659 15
0008 0008 16 IMAGSHOW: int 8, 0; /* unit interval count, active image pointer */
000a 0000 16
000c 0000 17 LVLADDRS: int24 SIGNALIN, APPROX_5; /* data pointer storage for level 5 */
000e 0018 17
18
0010 0018 19 int24 APPROX_5, APPROX_4; /* data pointer storage for level 4 */
0012 0030 19
20
0014 0030 21 int24 APPROX_4, APPROX_3; /* data pointer storage for level 3 */
0016 0048 21
22
0018 0048 23 int24 APPROX_3, APPROX_2; /* data pointer storage for level 2 */
001a 0060 23
24
001c 0060 25 int24 APPROX_2, APPROX_1; /* data pointer storage for level 1 */
001e 0078 25
Creation date: Tue Feb 04 16:30:02 199 wavedata.s page 2
Address Instruction Line # Source line
26
0020 0078 27 int24 APPROX_1, 0; /* data pointer storage for level 0 */
0022 0000 27
28
29 .align 4
0024 00000000 30 SIG_DRAW: float 0.0, 24.0, 48.0, 0.0; /* scaling and offset coefficients */
0028 40000084 30
002c 40000085 30
0030 00000000 30
0034 0000 31 int 0, 64; /* temp storage, row increment */
0036 0040 31
0038 0600 32 int 1536, 0; /* baseline value, bit pointer */
003a 0000 32
003c 0000 33 int24 0; /* byte column pointer */
003e 00 34 .align 4
003f 00 34
0040 00000000 35 float 0.0, 24.0, 48.0, 0.0;
0044 40000084 35
0048 40000085 35
004c 00000000 35
0050 0000 36 int 0, 32;
0052 0020 36
0054 0300 37 int 768, 0;
0056 0000 37
0058 0000 38 int24 0;
005a 00 39 .align 4
005b 00 39
005c 00000000 40 float 0.0, 24.0, 48.0, 0.0;
0060 40000084 40
0064 40000085 40
0068 00000000 40
006c 0000 41 int 0, 16;
006e 0010 41
0070 0180 42 int 384, 0;
0072 0000 42
0074 0000 43 int24 0;
0076 00 44 .align 4
0077 00 44
0078 00000000 45 float 0.0, 24.0, 48.0, 0.0;
007c 40000084 45
0080 40000085 45
0084 00000000 45
0088 0000 46 int 0, 8;
008a 0008 46
008c 00c0 47 int 192, 0;
008e 0000 47
0090 0000 48 int24 0;
0092 00 49 .align 4
0093 00 49
0094 00000000 50 float 0.0, 24.0, 48.0, 0.0;
0098 40000084 50
009c 40000085 50
00a0 00000000 50
00a4 0000 51 int 0, 4;
00a6 0004 51
00a8 0060 52 int 96, 0;
00aa 0000 52
00ac 0000 53 int24 0;
00ae 00 54 .align 4
00af 00 54
Creation date: Tue Feb 04 16:30:02 199 wavedata.s page 3
Address Instruction Line # Source line
00b0 00000000 55 float 0.0, 24.0, 48.0, 0.0;
00b4 40000084 55
00b8 40000085 55
00bc 00000000 55
00c0 0000 56 int 0, 2;
00c2 0002 56
00c4 0030 57 int 48, 0;
00c6 0000 57
00c8 0000 58 int24 0;
00ca 00 59 .align 4
00cb 00 59
00cc 00000000 60 float 0.0, 24.0, 48.0, 0.0;
00d0 40000084 60
00d4 40000085 60
00d8 00000000 60
00dc 0000 61 int 0, 2;
00de 0002 61
00e0 0030 62 int 48, 0;
00e2 0000 62
00e4 0000 63 int24 0;
00e6 00 64 .align 4
00e7 00 64
00e8 00000000 65 float 0.0, 24.0, 48.0, 0.0;
00ec 40000084 65
00f0 40000085 65
00f4 00000000 65
00f8 0000 66 int 0, 2;
00fa 0002 66
00fc 0030 67 int 48, 0;
00fe 0000 67
0100 0000 68 int24 0;
69
0102 06 70 DRAW_CNT: byte 6, 4, 3, 2, 1, 0;
0103 04 70
0104 03 70
0105 02 70
0106 01 70
0107 00 70
71
72 .align 4
0108 00000000 73 H_FILTER: 6*float 0.0; /* highpass wavelet filter storage allocation */
74
0120 00000000 75 L_FILTER: 6*float 0.0; /* lowpass wavelet filter storage allocation */
76
77 /* image pointer reset initialization data */
0138 0002 78 RST_DATA: int24 0x02; /* position of first pixel in unit interval at reset */
013a 017f 79 int24 IM0INITS; /* 00 00 00 00 00 00 00 01 */
80
013c 0001 81 int24 0x01, IM0INIT5; /* 00 00 00 01 */
013e 0dfb 81
82
0140 0001 83 int24 0x01, IM0INIT4; /* 00 01 */
0142 1439 83
84
0144 0001 85 int24 0x01, IM0_LVL3; /* 01 */
0146 1758 85
86
0148 0010 87 int24 0x10, IM0_LVL2; /* 10 */
014a 18e8 87
88
Creation date: Tue Feb 04 16:30:02 199 wavedata.s page 4
Address Instruction Line # Source line
014c 0040 89 int24 0x40, IM0_LVL1; /* 40 */
014e 19b0 89
90
0150 0080 91 int24 0x80, IM0_LVL0; /* 80 */
0152 1a14 91
92
0154 0080 93 int24 0x80, IM0_LVLA; /* 80 */
0156 1a78 93
94
95 /* image pointer switch initialization data */
0158 0178 96 IM0_PTRS: int24 IM0SIGNL, IM0_LVL5, IM0_LVL4, IM0_LVL3;
015a 0df8 96
015c 1438 96
015e 1758 96
0160 18e8 97 int24 IM0_LVL2, IM0_LVL1, IM0_LVL0, IM0_LVLA;
0162 19b0 97
0164 1a14 97
0166 1a78 97
98
0168 1adc 99 IM1_PTRS: int24 IM1SIGNL, IM1_LVL5, IM1_LVL4, IM1_LVL3;
016a 275c 99
016c 2d9c 99
016e 30bc 99
0170 324c 100 int24 IM1_LVL2, IM1_LVL1, IM1_LVL0, IM1_LVLA;
0172 3314 100
0174 3378 100
0176 33dc 100
101
102 /* IMAGE 0 storage allocation */
103 IMAGE_0:
0178 00 104 IM0SIGNL: 7*byte 0;
017f 00 105 IM0INITS: 3193*byte 0;
106
0df8 00 107 IM0_LVL5: 3*byte 0;
0dfb 00 108 IM0INIT5: 1597*byte 0;
109
1438 00 110 IM0_LVL4: byte 0;
1439 00 111 IM0INIT4: 799*byte 0;
112
1758 00 113 IM0_LVL3: 400*byte 0;
114
18e8 00 115 IM0_LVL2: 200*byte 0;
116
19b0 00 117 IM0_LVL1: 100*byte 0;
118
1a14 00 119 IM0_LVL0: 100*byte 0;
120
1a78 00 121 IM0_LVLA: 100*byte 0;
122
123 /* IMAGE 1 storage allocation */
1adc 00 124 IM1SIGNL: 3200*byte 0;
125
275c 00 126 IM1_LVL5: 1600*byte 0;
127
2d9c 00 128 IM1_LVL4: 800*byte 0;
129
30bc 00 130 IM1_LVL3: 400*byte 0;
131
324c 00 132 IM1_LVL2: 200*byte 0;
133
Creation date: Tue Feb 04 16:30:02 199 wavedata.s page 5
Address Instruction Line # Source line
3314 00 134 IM1_LVL1: 100*byte 0;
135
3378 00 136 IM1_LVL0: 100*byte 0;
137
33dc 00 138 IM1_LVLA: 100*byte 0;
139
140 .align 2
3440 0000 141 STACKBSE: 31*int24 0; /* subroutine stack storage allocation */
347e 0000 142 STACKEND: int24 0;
143
144 .rsect ".hi_ram"
0000 00000000 145 SIGNALIN: 6*float 0.0; /* approximation data storage allocation */
0018 00000000 146 APPROX_5: 6*float 0.0;
0030 00000000 147 APPROX_4: 6*float 0.0;
0048 00000000 148 APPROX_3: 6*float 0.0;
0060 00000000 149 APPROX_2: 6*float 0.0;
0078 00000000 150 APPROX_1: 6*float 0.0;
0090 00000000 151 DATA_OUT: 9*float 0.0; /* output data storage allocation */
152
Symbol Table
.file wavedata.s
.hi_ram (section 1) size 0xb4
.bank0 (section 2) size 0x3480
STACKBSE section 2 defined value 0x3440
DATA_OUT section 1 global defined value 0x90
SIGNALIN section 1 global defined value 0x0
IM1_LVL0 section 2 defined value 0x3378
IM1_LVL1 section 2 defined value 0x3314
IM1_LVL2 section 2 defined value 0x324c
IM1_LVL3 section 2 defined value 0x30bc
STACKEND section 2 global defined value 0x347e
IMAGSHOW section 2 global defined value 0x8
IM1_LVL4 section 2 defined value 0x2d9c
IM0_PTRS section 2 global defined value 0x158
IM1_LVL5 section 2 defined value 0x275c
IM0INITS section 2 defined value 0x17f
H_FILTER section 2 global defined value 0x108
IM1_LVLA section 2 defined value 0x33dc
WAVEADRS section 2 global defined value 0x0
RST_DATA section 2 global defined value 0x138
WAVEINDX section 2 defined value 0x2
WAVELVLS section 2 global defined value 0x4
IM0_LVL0 section 2 defined value 0x1a14
IM1SIGNL section 2 defined value 0x1adc
IM0_LVL1 section 2 defined value 0x19b0
IM0_LVL2 section 2 defined value 0x18e8
IM0_LVL3 section 2 defined value 0x1758
IM0_LVL4 section 2 defined value 0x1438
IM0_LVL5 section 2 defined value 0xdf8
LVLADDRS section 2 global defined value 0xc
APPROX_1 section 1 defined value 0x78
APPROX_2 section 1 defined value 0x60
APPROX_3 section 1 defined value 0x48
IM0_LVLA section 2 defined value 0x1a78
APPROX_4 section 1 defined value 0x30
APPROX_5 section 1 defined value 0x18
IMAGE_0 section 2 global defined value 0x178
IM0SIGNL section 2 defined value 0x178
IM0INIT4 section 2 defined value 0x1439
IM0INIT5 section 2 defined value 0xdfb
IM1_PTRS section 2 global defined value 0x168
DRAW_CNT section 2 global defined value 0x102
SIG_DRAW section 2 global defined value 0x24
L_FILTER section 2 global defined value 0x120